namespace ICP_MS.Plugin.LA300;

public class DirtyInfo
{
	public bool SelectIsotopeDirty { get; set; }

	public bool ISTDDirty { get; set; }

	public bool SurveyRegionsDirty { get; set; }

	public bool ScanRegionsDirty { get; set; }

	public bool PeakRegionsDirty { get; set; }

	public bool IsotopeInfoDirty { get; set; }

	public bool SamplesDirty { get; set; }

	public bool STDConcDirty { get; set; }

	public bool ResultsDirty { get; set; }

	public bool RatiosDirty { get; set; }

	public bool SpectrumDirty { get; set; }

	public bool CurveDirty { get; set; }

	public bool InterRegionDirty { get; set; }

	public bool HasDirty => SelectIsotopeDirty || ISTDDirty || SurveyRegionsDirty || ScanRegionsDirty || PeakRegionsDirty || IsotopeInfoDirty || SamplesDirty || STDConcDirty || ResultsDirty || RatiosDirty || SpectrumDirty || InterRegionDirty || CurveDirty;

	public void SetAll()
	{
		ISTDDirty = true;
		SurveyRegionsDirty = true;
		ScanRegionsDirty = true;
		PeakRegionsDirty = true;
		IsotopeInfoDirty = true;
		SamplesDirty = true;
		STDConcDirty = true;
		ResultsDirty = true;
		SpectrumDirty = true;
		CurveDirty = true;
	}

	public void ResetAll()
	{
		SelectIsotopeDirty = false;
		ISTDDirty = false;
		SurveyRegionsDirty = false;
		ScanRegionsDirty = false;
		PeakRegionsDirty = false;
		IsotopeInfoDirty = false;
		SamplesDirty = false;
		STDConcDirty = false;
		ResultsDirty = false;
		SpectrumDirty = false;
		CurveDirty = false;
	}
}
